package com.hyst.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.Date;

/**
* Test Report 表 测试报告表实体
*/
@Data
@ApiModel(value = "Test Report 表 测试报告表", description = "")

public class TestReport {
	

	@Id
	@ApiModelProperty(value = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	@ApiModelProperty(value = "student_id")
	private String studentId;

	@ApiModelProperty(value = "teacher_id")
	private String teacherId;

	@ApiModelProperty(value = "score")
	private String score;

	@ApiModelProperty(value = "教材ID")
	private String materialId;

	@ApiModelProperty(value = "表现")
	private String punctuation;

	@ApiModelProperty(value = "拼写")
	private String spelling;

	@ApiModelProperty(value = "词汇")
	private String vocabulary;

	@ApiModelProperty(value = "语法")
	private String grammar;

	@ApiModelProperty(value = "word_order")
	private String wordOrder;

	@ApiModelProperty(value = "open_questions")
	private String openQuestions;

	@ApiModelProperty(value = "is_delete")
	private Integer isDelete;

	@ApiModelProperty(value = "购买课程的ID")
	private Integer purchaseCourseId;

	@ApiModelProperty(value = "剩余学时")
	private Integer remainingHours;

	@ApiModelProperty(value = "登记学时（总学时）")
	private Integer enrolledHours;

	@ApiModelProperty(value = "报告日期")
	private Date reportDate;

	@ApiModelProperty(value = "create_time")
	private Date createTime;

	@ApiModelProperty(value = "状态")
	private String status;

	@Transient
	private String studentName;

	@Transient
	private String materialName;

	// 排序方式
	@Transient
	private String sort = "DESC";

	@Transient
	private int pageNum = 1;

	@Transient
	private int pageSize = Integer.MAX_VALUE;
}
